<%@ page language="java" errorPage="/error.jsp" pageEncoding="UTF-8" contentType="text/html;charset=utf-8" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ taglib prefix="s" uri="/struts-tags"  %>
<html>
<head>
<title>通讯录管理系统</title>
<script src="main_files/jquery2.js" type="text/javascript"></script>
<script src="main_files/menu.js" type="text/javascript"></script>
<link rel="stylesheet" href="main_files/style.css" type="text/css" /> 
<style type="text/css">
.hh {
	font-weight:bold;
	font-size:14px !important;
}

</style>

<%--<script type="text/javascript">
(function(){function atrand(num){return Math.floor(Math.random()*num)+1}var P=location.pathname;if((parent===self)||P.indexOf('/list_forum')!=-1||P.indexOf('/theme/info/info')!= -1||P.indexOf('/promo/co_header.php')!= -1||P.indexOf('fast_buy.htm')!= -1||P.indexOf('/add_collection.htm')!= -1||P.indexOf('/taobao_digital_iframe')!= -1||window.tbdw_frame_count==true){var R=escape(document.referrer);document.write('<img src="http://www.atpanel.com/1.gif?cache='+atrand(9999999)+'&pre='+R+'&scr='+screen.width+'x'+screen.height+'&category=&userid=&tid=&channel=112&ad_id=" width="0" height="0" style="display:none;" />')}})();
</script>

<img src="main_files/1_002.gif" style="display: none;" height="0" width="0" ></img>

<script type="text/javascript">
(function(){function akrand(num){return Math.floor(Math.random()*num)+1}var P=location.pathname;var reg=/^https?:\/\/[\w\.]+\.taobao\.com\//i;if((parent===self)||(parent!==self&&!reg.test(document.referrer))||P.indexOf('/list_forum')!=-1||P.indexOf('/theme/info/info')!= -1||P.indexOf('/promo/co_header.php')!= -1||P.indexOf('fast_buy.htm')!= -1||P.indexOf('/add_collection.htm')!= -1||P.indexOf('/taobao_digital_iframe')!= -1||window.tbdw_frame_count==true){var R=escape(document.referrer);var acookie_load_id=""+akrand(9999999999)+akrand(9999999999);var isv_title=escape(document.title);document.write('<img src="http://acookie.taobao.com/1.gif?acookie_load_id='+acookie_load_id+'&title='+isv_title+'&pre='+R+'&category=&userid=&channel=112&ad_id=" width="0" height="0" style="display:none;" />')}})();
</script><img src="main_files/1.gif" style="display: none;" height="0" width="0"></img>
--%>
</head>
<body>
<table style="margin: 0px auto;" border="0" cellpadding="0" cellspacing="0" width="1200">
  <tbody><tr>
    <td style="height: 64px;" width="500">
        <img src="main_files/index_r1_c1.gif" alt="" height="64" width="500"></img>
    </td>
    <td style="height: 64px;" width="700">
        <img src="main_files/index_r1_c2.jpg" alt="" height="64" width="700"></img>
    </td>
  </tr>
  <tr>
    <td colspan="2" style="height: 6px; background-color: rgb(19, 117, 152);"></td>
  </tr>
  <tr>
    <td colspan="2" style="height: 39px; background-image: url(&quot;http://localhost:8080/addressbook/main_files/index_r2_c1.jpg&quot;);" valign="bottom">
    <table style="float: right;" border="0" cellpadding="0" cellspacing="0" width="340">
        <tbody><tr>
          <td style="height: 28px; background-image: url(&quot;http://localhost:8080/addressbook/main_files/index_r2_c2.jpg&quot;);">
          <table style="float: right;" border="0" cellpadding="0" cellspacing="0" width="70%">
              <tbody><tr>
                <td class="Text2" style="padding-top: 4px; width: 40px;"> 您好,</td>
                <td class="Text1" style="padding-top: 2px;">
                    <span id="lblLoginUser" style="font-size: 14px; font-weight: bold;">常先</span></td>
                <td>
                    <a id="lnkLoginOut" href="http://tvcrm.taobao.net/auth/login.htm?action=auth%2Flogin_action&amp;event_submit_do_logout=true">
                    <img src="main_files/out.jpg" style="width: 50px; height: 19px; border: 0px none;" alt="" id="IMG1"></img></a></td>
              </tr>
      </tbody></table>
      </td>
      </tr>
      </tbody></table>
      </td>
  </tr>
  <tr>
    <td colspan="2" style="height: 6px;"></td>
  </tr>
</tbody></table>
<table style="height: 100%; border: 0px none; margin: 0px auto;" cellpadding="0" cellspacing="0">
  <tbody><tr>
    <td style="width: 176px;" valign="top">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
        <tbody><tr>
          <td style="background-image: url(&quot;http://localhost:8080/addressbook/main_files/index_r2_c3.jpg&quot;); height: 30px;">
          	<!--<img src="images/index_r2_c3.jpg" alt="" width=100% height=100% />-->
          </td>
        </tr>
        <tr>
          <td  background="main_files/index_r2_c4.jpg" height="800px" valign="top">
          <table align="center" border="0" cellpadding="0" cellspacing="0" width="170px">
              <tbody><tr>
                <td align="center" height="10"></td>
              </tr>
              <tr>
                <td><ul class="ulmenu">
	            	<li>
					  <div class="pdivcurrent"> <a>地区管理</a> </div>
                      <ul style="display: none;" class="ulsubmenu">
                        <li class=""><a style="cursor: pointer; font-size: 12px;" onclick="jumpToLink('area.action');" target="ifMain">地区树形显示</a></li>
                      </ul>
					</li>
					<li>
                      <div class="pdivcurrent"> <a>时间管理</a> </div>
                      <ul style="display: none" class="ulsubmenu">
						<li class=""><a style="cursor: pointer; font-size: 12px;" onclick="jumpToLink('test.action');" target="ifMain">时间控件运用</a></li>
					  </ul>
                   </li>
                   
                    	<li>
					  <div class="pdivcurrent"> <a>常用功能</a> </div>
                      <ul style="display: none;" class="ulsubmenu">
                        <li class=""><a style="cursor: pointer; font-size: 12px;" onclick="jumpToLink('<s:url value="view/upload/iframeUpload.jsp"></s:url>');" target="ifMain">Iframe无刷新上传</a></li>
                      	<li class=""><a style="cursor: pointer; font-size: 12px;" onclick="jumpToLink('<s:url value="view/upload/jQueryUpload.html"></s:url>');" target="ifMain">JQuery无刷新上传</a></li>
                      </ul>
					</li>
                   </ul>
				</td>
              </tr>
            </tbody>
            </table>
            </td>
        </tr>
        <tr>
          <td style="background-image: url(&quot;http://localhost:8080/addressbook/main_files/index_r2_c5.jpg&quot;); width: 5px;">
          	<!--<img src="images/index_r2_c5.jpg" width="100%" height="100%" alt="" />-->
          </td>
        </tr>
      </tbody></table></td>
    <td align="right" valign="top">
    <iframe id="ifMain" style="font-size: 12px; margin-left: 10px;" src="" onload="autoHeight()" name="ifMain" scrolling="no" frameborder="0" height="800px" width="1019px">
    </iframe>
    </td>
  </tr>
</tbody></table>
	<script type="text/javascript">
	function jumpToLink(str){
	 ifMain.location = str;
	}
	function autoHeight(){
	     var ifr = document.getElementById('ifMain');
		 var height = Math.max(ifr.contentWindow.document.body.scrollHeight,ifr.contentWindow.document.documentElement.scrollHeight);
	     ifr.height = (height < 800 ? 800 + 'px' : height + 'px');
	  }
	</script>

	<div style="position: absolute; display: none; z-index: 9999;" id="livemargins_control">
		<img src="main_files/monitor-background-horizontal.png" style="position: absolute; left: -77px; top: -5px;" height="5" width="77"></img>
		<img src="main_files/monitor-background-vertical.png" style="position: absolute; left: 0pt; top: -5px;"></img>
		<img id="monitor-play-button" src="main_files/monitor-play-button.png" onmouseover="this.style.opacity=1" onmouseout="this.style.opacity=0.5" style="position: absolute; left: 1px; top: 0pt; opacity: 0.5; cursor: pointer;"></img>
	</div>
</body>
</html>
